<template>
  <d2-container class="page">
    我的首页
  </d2-container>
</template>
<script>
export default {
  created () {
    this.$store.commit('d2admin/menu/asideSet', [
      {
        title: '我的首页',
        icon: 'link',
        children: [
          {
            path: '/messcenter',
            title: '消息中心',
            icon: 'github'
          },
          {
            path: '/todo',
            title: '待办事项',
            icon: 'globe'
          }
        ]
      }
    ])
    this.$store.dispatch('d2admin/menu/asideCollapseSet', false)
  }
}
</script>

<style lang="scss" scoped>
@import '~@/assets/style/public.scss';
.page {
  .page__btn-group {
    color: $color-text-placehoder;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 20px;
    span {
      color: $color-text-sub;
      &:hover {
        color: $color-text-main;
      }
    }
  }
}
</style>
